/*
 
 
 */

#import <UIKit/UIKit.h>

UIKIT_EXTERN NSString *const ChannelTitleCurrenIndexChanged;

@interface XBCommunityScrollView : UIScrollView

/** 标题数据 */
@property (nonatomic,strong) NSArray *labels;

/** 当前下标 */
@property (nonatomic,assign) NSInteger currentIndex;

/** 频道文本下的线 */
@property (nonatomic,weak) UIView *footLine;

/** 初始化方法，需要传进来文本数据和Frame */
+ (instancetype)ChannelWithLabels:(NSArray *)labels andFrame:(CGRect)frame;

@end
